const routers = [
  {
    path: '/UserManagement',
    name: 'userManagement',
    redirect: { name: 'userManagementList' },
    meta: {
      title: '用户管理',
      breadcrumbName: '用户管理',
      isTopLevel: true, // 是否为顶层页面
      // backName: 'index',
      isCanback: false, //控制是否可以显示返回
      defaultMeau: '/userManagement'
    },
    children: [
      {
        path: '/userManagement/list',
        name: 'userManagementList',
        component: () => import('@/views/user_center/user_management/list/UserView.vue'),
        meta: {
          title: '用户管理',
          breadcrumbName: '用户管理',
          isTopLevel: true, // 是否为顶层页面
          // backName: 'index',
          isCanback: false, //控制是否可以显示返回
          defaultMeau: '/userManagement'
        }
      },
      {
        path: '/userManagement/relation/:account',
        name: 'userManagementRelation',
        component: () => import('@/views/user_center/user_management/relation/relationBox.vue'),
        meta: {
          title: '关联信息',
          breadcrumbName: '关联信息',
          isTopLevel: true, // 是否为顶层页面
          backName: 'userManagementList',
          isCanback: true, //控制是否可以显示返回
          defaultMeau: '/userManagement'
        }
      }
    ]
  }
];

export default routers;
